import {request} from "network/Request.js"


export function listBracher(parenId,distance) {
  return request({
    url: parenId == null ? 'branches' : 'branches?parentId=' + parenId + (distance == null ? "" : "&distance=" + distance),
    method: 'get'
  })
}
